package com.xwaf.platform.system.api.entity.auth;

import java.util.List;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.xwaf.platform.common.api.entity.ELItem;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * <p>
 * 权限模板表
 * <p>
 * 
 * @author 李聪 <br>
 * @email xwaf_love@yeah.net <br>
 * @since JDK 1.8<br>
 * @date 2019-5-25 12:36:47 <br>
 * @see 无<br>
 *      Copyright (c) 2019, xwaf_love@yeah.net All Rights Reserved.<br>
 */
@Data
@TableName(value = "sys_permission_template")
public class PermissionTemplate extends ELItem {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "权限模板名称 长度(50)")
	private java.lang.String name;

	@ApiModelProperty(value = "描叙 长度(200)")
	private java.lang.String description;

	@TableField(exist = false)
	@ApiModelProperty(value = "模板对应模块")
	private List<PermissionModule> permissionModules;

	@TableField(exist = false)
	@ApiModelProperty(value = "模板对应字段")
	private List<PermissionField> permissionFields;

	@TableField(exist = false)
	@ApiModelProperty(value = "模板对应操作")
	private List<PermissionOperation> permissionOperations;

}
